fompila 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fompila.rb +6 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 039c5c3a6ba0a94fab12064fdeacf1abaa18f745
4
- data.tar.gz: e6c8b3017798a9a26c67016038aa7a0388687b23
3
+ metadata.gz: a26e86faf2d20d749352b89e2d591c4c01316d64
4
+ data.tar.gz: 499e6a84bbaaa16a4c6d0b38d0e0a1a5affa35f8
5
5
  SHA512:
6
- metadata.gz: 0ae762d043e11205a1b94fc577decba438b60e064960f57393bf8b306220022948b674528778ec774791fa8300279e762e9ba6893eac5745298be247c8d6831a
7
- data.tar.gz: b1911be2b035a2cccfaec974b19a55b09b0333b2c670caad37462aa6756ef4b8c8a8221337b936fe1e51c0fea40248ec2104b45cbed28b823e0a7dca69496115
6
+ metadata.gz: 9241997689da752f780c628632f2dc2f92dfba56a01f4c0e86a24b73c7716f029b621c07750520620878a2abf97300832107999831569256bc3c88fba575d9ce
7
+ data.tar.gz: 64a89ae5a2437e3c910ad2d2c57cffe32e84ae5c6b2f59f4d163757fed2dfc4e57b44ad0690634d968b50c6b196ed5dbbdbf92c2984b236568a7c19f8424e094
data/lib/fompila.rb CHANGED
@@ -2,5 +2,11 @@ module Kernel
2
2
  def fompila(message)
3
3
  puts "FOMPILA #{message}"
4
4
  end
5
+
6
+ alias :original_puts :puts
7
+
8
+ def puts(args)
9
+ original_puts "FOMPILA #{args}"
10
+ end
5
11
  end
6
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fompila
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Maringolo