thenga-machinga 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/thenga.rb +18 -0
  3. metadata +45 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1dc4fbaeaa28793e7f2a02dadf0c37da11268a22
4
+ data.tar.gz: 091ba0d170485fb6d65faf6fb200d0d9fd82e739
5
+ SHA512:
6
+ metadata.gz: 2ef94205a6fd34b596661d5653688c0e3186272468aca8eb63914d5b0a0adbeff076847ecb0eb01a0be2a8a252206ebb548e06a6389e440a513b9b2e6da37da6
7
+ data.tar.gz: 07c30120b49fcf169b1c29ced8df878404512d497898521ef98c644bbcd9471525bd6505a230675436fb23c2261dee97d2ff2105f98465eb3c064446616d25e8
data/lib/thenga.rb ADDED
@@ -0,0 +1,18 @@
1
+ class splits
2
+ def self.aloha(a,b,c)
3
+ n=2
4
+ a.each_line do |l|
5
+ if n%2==0
6
+ b.write(l)
7
+ else
8
+ c.write(l)
9
+ end
10
+ n=n+1
11
+ end
12
+ a.close
13
+ b.close
14
+ c.close
15
+ return true
16
+ end
17
+ end
18
+
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: thenga-machinga
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Sarath
8
+ - Jagan
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-12-15 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: This application splits and merges
15
+ email: sarathchirayil@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/thenga.rb
21
+ homepage: https://rubygems.org/gems/thenga-machinga
22
+ licenses:
23
+ - Secure Cloud Storage
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubyforge_project:
41
+ rubygems_version: 2.2.2
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: Merge and split
45
+ test_files: []