Class: UrlMount::Segment::Static

Inherits:
Base
  • Object
show all
Defined in:
lib/url_mount.rb

Instance Attribute Summary

Attributes inherited from Base

#name

Instance Method Summary collapse

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