Module: Compel::Builder::Methods
Instance Method Summary collapse
- #any ⇒ Object
- #array ⇒ Object
- #boolean ⇒ Object
- #date ⇒ Object
- #datetime ⇒ Object
- #float ⇒ Object
- #hash ⇒ Object
- #integer ⇒ Object
- #json ⇒ Object
- #string ⇒ Object
- #time ⇒ Object
Instance Method Details
#array ⇒ Object
57 58 59 |
# File 'lib/compel/builder/methods.rb', line 57 def array Builder::Array.new end |
#boolean ⇒ Object
53 54 55 |
# File 'lib/compel/builder/methods.rb', line 53 def boolean Builder::Boolean.new end |
#date ⇒ Object
49 50 51 |
# File 'lib/compel/builder/methods.rb', line 49 def date Builder::Date.new end |
#datetime ⇒ Object
41 42 43 |
# File 'lib/compel/builder/methods.rb', line 41 def datetime Builder::DateTime.new end |
#float ⇒ Object
37 38 39 |
# File 'lib/compel/builder/methods.rb', line 37 def float Builder::Float.new end |
#hash ⇒ Object
21 22 23 |
# File 'lib/compel/builder/methods.rb', line 21 def hash Builder::Hash.new end |
#integer ⇒ Object
33 34 35 |
# File 'lib/compel/builder/methods.rb', line 33 def integer Builder::Integer.new end |
#json ⇒ Object
25 26 27 |
# File 'lib/compel/builder/methods.rb', line 25 def json Builder::JSON.new end |