class Mashery::QueryBuilder::From

Public Class Methods

new(argument) click to toggle source
# File lib/mashery/query_builder.rb, line 86
def initialize(argument)
  @argument = argument
end

Public Instance Methods

to_s() click to toggle source
# File lib/mashery/query_builder.rb, line 90
def to_s
  raise MissingFrom.new if @argument.nil?
  "FROM #{@argument}"
end