livetext 0.6.3 → 0.6.4

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/livetext.rb +3 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 291cf72853f4a3c83437254d13d2c0308089ba10
4
- data.tar.gz: 1c6eb65091b8bcbfab35789771c4de81a5d65c43
3
+ metadata.gz: d23c90a2364289b4f5e720e6ac84130cefec64d8
4
+ data.tar.gz: cf627678cb3d385bc352af8e21e694ad2e05eaf6
5
5
  SHA512:
6
- metadata.gz: 7f4b38ba1a9e2bd5849dd78775791d8d1aceb375a744803b4301f320dd48aefd22da2f6c7cfeec93798a4ccf748ae519f9d5dd676d61416c21eb6d51ba47e814
7
- data.tar.gz: 43a847cd5c7b89c9959f84ce352666e2b6115262d56010db75c38468ddd69c169d72821830846f85d20dafedcfb6d0133c2ba3b74e3db1c6d4cd99becf74ba10
6
+ metadata.gz: 82dfce10e7c156429f18d819568287e0d4b5df8a24689b0d3cc6db9db9040fb24c7e4a5e660b2ea64be6f6986fbf6da9dc7c9faadfb5bfef9b1fc77d368bb2b7
7
+ data.tar.gz: a17be3a281be93c67cf919467a002e5fe616bc33712f695552f5d34e38fbd6681d716f0f4828b759f11e6c7f11376a55ed9ab650646e2a7bc138cd7f544f4986
data/lib/livetext.rb CHANGED
@@ -15,7 +15,7 @@ class Enumerator
15
15
  end
16
16
 
17
17
  class Livetext
18
- VERSION = "0.6.3"
18
+ VERSION = "0.6.4"
19
19
 
20
20
  Space = " "
21
21
 
@@ -633,15 +633,14 @@ class Livetext::System < BasicObject
633
633
  end
634
634
 
635
635
  def method_missing(name, *args)
636
- # TTY.puts $mods.inspect
636
+ name = "_def" if name == "def"
637
+ name = "_include" if name == "include"
637
638
  $mods.reverse.each do |mod|
638
- #TTY.puts "mod methods = #{mod.module_methods.inspect}"
639
639
  if mod.respond_to?(name)
640
640
  mod.send(name, *args)
641
641
  return
642
642
  end
643
643
  end
644
- # TTY.puts "Got here"
645
644
  _puts " Error: Method '#{name}' is not defined."
646
645
  puts caller.map {|x| " " + x }
647
646
  exit
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livetext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hal Fulton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-10 00:00:00.000000000 Z
11
+ date: 2017-03-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A smart text processor extensible in Ruby
14
14
  email: rubyhacker@gmail.com