Class: WCC::FilterRef

Inherits:
Object
  • Object
show all
Defined in:
lib/wcc/filter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argumentsObject (readonly)

Returns the value of attribute arguments.



4
5
6
# File 'lib/wcc/filter.rb', line 4

def arguments
  @arguments
end

#idObject (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_sObject



11
# File 'lib/wcc/filter.rb', line 11

def to_s; @id end