lib/raabro.rb in raabro-1.1.0 vs lib/raabro.rb in raabro-1.1.1

- old
+ new

@@ -24,11 +24,11 @@ #++ module Raabro - VERSION = '1.1.0' + VERSION = '1.1.1' class Input attr_accessor :string, :offset attr_reader :options @@ -79,9 +79,10 @@ def c0; @children[0]; end def c1; @children[1]; end def c2; @children[2]; end def c3; @children[3]; end def c4; @children[4]; end + def clast; @children.last; end def empty? @result == 1 && @length == 0 end