lib/chronic/pointer.rb in chronic-0.4.0 vs lib/chronic/pointer.rb in chronic-0.4.1
- old
+ new
@@ -1,10 +1,8 @@
module Chronic
-
class Pointer < Tag #:nodoc:
def self.scan(tokens, options)
- # for each token
tokens.each_index do |i|
if t = scan_for_all(tokens[i]) then tokens[i].tag(t) end
end
end
@@ -19,7 +17,6 @@
def to_s
'pointer-' << @type.to_s
end
end
-
end