Module: Compel::Builder::Methods
Instance Method Summary collapse
- #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
56 57 58 |
# File 'lib/compel/builder/methods.rb', line 56 def array Builder::Array.new end |
#boolean ⇒ Object
52 53 54 |
# File 'lib/compel/builder/methods.rb', line 52 def boolean Builder::Boolean.new end |
#date ⇒ Object
48 49 50 |
# File 'lib/compel/builder/methods.rb', line 48 def date Builder::Date.new end |
#datetime ⇒ Object
40 41 42 |
# File 'lib/compel/builder/methods.rb', line 40 def datetime Builder::DateTime.new end |
#float ⇒ Object
36 37 38 |
# File 'lib/compel/builder/methods.rb', line 36 def float Builder::Float.new end |
#hash ⇒ Object
20 21 22 |
# File 'lib/compel/builder/methods.rb', line 20 def hash Builder::Hash.new end |
#integer ⇒ Object
32 33 34 |
# File 'lib/compel/builder/methods.rb', line 32 def integer Builder::Integer.new end |
#json ⇒ Object
24 25 26 |
# File 'lib/compel/builder/methods.rb', line 24 def json Builder::JSON.new end |