Class: Numeric
- Defined in:
- lib/kyanite/array.rb,
lib/kyanite/numeric.rb,
lib/kyanite/string/split.rb,
lib/kyanite/general/kernel.rb
Instance Method Summary collapse
-
#empty? ⇒ Boolean
false, Numerics are not empty. -
#seconds(&block) ⇒ Object
Repeats a block until the time is up.
-
#shift_complement ⇒ NilClass
nil, Complements Array#shift_complement. -
#split_numeric ⇒ Numeric
self, complements String#split_numeric.
Instance Method Details
#empty? ⇒ Boolean
false, Numerics are not empty.
12 13 14 |
# File 'lib/kyanite/numeric.rb', line 12 def empty? false end |
#seconds(&block) ⇒ Object
78 79 80 81 82 |
# File 'lib/kyanite/general/kernel.rb', line 78 def seconds( &block ) repeat_n_seconds( self ) do yield block if block end end |
#shift_complement ⇒ NilClass
nil, Complements Array#shift_complement.
122 123 124 |
# File 'lib/kyanite/array.rb', line 122 def shift_complement nil end |
#split_numeric ⇒ Numeric
self, complements String#split_numeric.
165 166 167 |
# File 'lib/kyanite/string/split.rb', line 165 def split_numeric self end |