Module: Compel::Builder::Methods

Extended by:
Methods
Included in:
Compel, Methods
Defined in:
lib/compel/builder/methods.rb

Instance Method Summary collapse

Instance Method Details

#arrayObject



56
57
58
# File 'lib/compel/builder/methods.rb', line 56

def array
  Builder::Array.new
end

#booleanObject



52
53
54
# File 'lib/compel/builder/methods.rb', line 52

def boolean
  Builder::Boolean.new
end

#dateObject



48
49
50
# File 'lib/compel/builder/methods.rb', line 48

def date
  Builder::Date.new
end

#datetimeObject



40
41
42
# File 'lib/compel/builder/methods.rb', line 40

def datetime
  Builder::DateTime.new
end

#floatObject



36
37
38
# File 'lib/compel/builder/methods.rb', line 36

def float
  Builder::Float.new
end

#hashObject



20
21
22
# File 'lib/compel/builder/methods.rb', line 20

def hash
  Builder::Hash.new
end

#integerObject



32
33
34
# File 'lib/compel/builder/methods.rb', line 32

def integer
  Builder::Integer.new
end

#jsonObject



24
25
26
# File 'lib/compel/builder/methods.rb', line 24

def json
  Builder::JSON.new
end

#stringObject



28
29
30
# File 'lib/compel/builder/methods.rb', line 28

def string
  Builder::String.new
end

#timeObject



44
45
46
# File 'lib/compel/builder/methods.rb', line 44

def time
  Builder::Time.new
end