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

#anyObject



61
62
63
# File 'lib/compel/builder/methods.rb', line 61

def any
  Builder::Any.new
end

#arrayObject



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

def array
  Builder::Array.new
end

#booleanObject



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

def boolean
  Builder::Boolean.new
end

#dateObject



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

def date
  Builder::Date.new
end

#datetimeObject



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

def datetime
  Builder::DateTime.new
end

#floatObject



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

def float
  Builder::Float.new
end

#hashObject



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

def hash
  Builder::Hash.new
end

#integerObject



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

def integer
  Builder::Integer.new
end

#jsonObject



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

def json
  Builder::JSON.new
end

#stringObject



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

def string
  Builder::String.new
end

#timeObject



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

def time
  Builder::Time.new
end