Class: Object

Inherits:
BasicObject
Defined in:
lib/oracle-sql-parser/ast/base.rb

Instance Method Summary collapse

Instance Method Details

#duplicable?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/oracle-sql-parser/ast/base.rb', line 44

def duplicable?
  true
end

#try(name, *args) ⇒ Object



36
37
38
39
40
41
42
# File 'lib/oracle-sql-parser/ast/base.rb', line 36

def try(name, *args)
  if respond_to? name
    send(name, *args)
  else
    nil
  end
end