Class: UrlMount::Segment::Static
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(name) ⇒ Static
constructor
A new instance of Static.
- #to_s(opts = {}) ⇒ Object
Methods inherited from Base
#optional_variable_segments, #required_variable_segments
Constructor Details
#initialize(name) ⇒ Static
Returns a new instance of Static.
161 |
# File 'lib/url_mount.rb', line 161 def initialize(name); @name = name; end |
Instance Method Details
#to_s(opts = {}) ⇒ Object
162 |
# File 'lib/url_mount.rb', line 162 def to_s(opts = {}); @name; end |