Class: Tins::NamedSet

Inherits:
Set show all
Defined in:
lib/tins/named_set.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ NamedSet

Returns a new instance of NamedSet.



5
6
7
8
# File 'lib/tins/named_set.rb', line 5

def initialize(name)
  @name = name
  super()
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



10
11
12
# File 'lib/tins/named_set.rb', line 10

def name
  @name
end