Class: Ardb::RelationSpy::AppliedExpression
- Inherits:
-
Struct
- Object
- Struct
- Ardb::RelationSpy::AppliedExpression
- Defined in:
- lib/ardb/relation_spy.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
148 149 150 |
# File 'lib/ardb/relation_spy.rb', line 148 def args @args end |
#type ⇒ Object
Returns the value of attribute type
148 149 150 |
# File 'lib/ardb/relation_spy.rb', line 148 def type @type end |
Instance Method Details
#to_sql ⇒ Object
149 150 151 |
# File 'lib/ardb/relation_spy.rb', line 149 def to_sql "#{self.type}: #{self.args.inspect}" end |