lib/sugar-high/kind_of.rb in sugar-high-0.4.7 vs lib/sugar-high/kind_of.rb in sugar-high-0.4.8
- old
+ new
@@ -19,14 +19,19 @@
end
true
end
def kind_of_label?
- self.any_kind_of? String, Symbol
+ self.any_kind_of? String, Symbol
end
+ def kind_of_number?
+ self.any_kind_of? Numeric
+ end
+
+
def kind_of_symbol?
- self.any_kind_of? Symbols, Symbol
+ self.any_kind_of? Symbols, Symbol
end
end
class Kinds
attr_accessor :kinds
\ No newline at end of file