Class: WCC::FilterRef
- Inherits:
-
Object
- Object
- WCC::FilterRef
- Defined in:
- lib/wcc/filter.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id, arguments = {}) ⇒ FilterRef
constructor
A new instance of FilterRef.
- #to_s ⇒ Object
Constructor Details
#initialize(id, arguments = {}) ⇒ FilterRef
Returns a new instance of FilterRef.
6 7 8 9 |
# File 'lib/wcc/filter.rb', line 6 def initialize(id, arguments = {}) @id = id @arguments = arguments end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
4 5 6 |
# File 'lib/wcc/filter.rb', line 4 def arguments @arguments end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/wcc/filter.rb', line 4 def id @id end |
Instance Method Details
#to_s ⇒ Object
11 |
# File 'lib/wcc/filter.rb', line 11 def to_s; @id end |