Class: ActiveRecord::Extensions::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/ar-extensions/extensions.rb

Instance Attribute Summary collapse

Instance Attribute Details

#sqlObject

Returns the value of attribute sql

Returns:

  • (Object)

    the current value of sql



114
115
116
# File 'lib/ar-extensions/extensions.rb', line 114

def sql
  @sql
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



114
115
116
# File 'lib/ar-extensions/extensions.rb', line 114

def value
  @value
end