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
131 132 133 |
# File 'lib/ardb/relation_spy.rb', line 131 def args @args end |
#type ⇒ Object
Returns the value of attribute type
131 132 133 |
# File 'lib/ardb/relation_spy.rb', line 131 def type @type end |
Instance Method Details
#to_sql ⇒ Object
132 133 134 |
# File 'lib/ardb/relation_spy.rb', line 132 def to_sql "#{self.type}: #{self.args.inspect}" end |