Class: Fontaine::Pattern
- Inherits:
-
Object
- Object
- Fontaine::Pattern
- Defined in:
- lib/fontaine/pattern.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id) ⇒ Pattern
constructor
A new instance of Pattern.
Constructor Details
#initialize(id) ⇒ Pattern
Returns a new instance of Pattern.
4 5 6 |
# File 'lib/fontaine/pattern.rb', line 4 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/fontaine/pattern.rb', line 3 def id @id end |