Class: Arclight::NormalizedId
- Inherits:
-
Object
- Object
- Arclight::NormalizedId
- Defined in:
- lib/arclight/normalized_id.rb
Overview
A simple utility class to normalize identifiers to be used around the application for linking
Instance Method Summary collapse
-
#initialize(id) ⇒ NormalizedId
constructor
A new instance of NormalizedId.
- #to_s ⇒ Object
Constructor Details
#initialize(id) ⇒ NormalizedId
Returns a new instance of NormalizedId.
8 9 10 |
# File 'lib/arclight/normalized_id.rb', line 8 def initialize(id) @id = id end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/arclight/normalized_id.rb', line 12 def to_s normalize end |