Class: UrlMount::Segment::Base

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

Direct Known Subclasses

Conditional, Delimeter, Static, Variable

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name.



150
151
152
# File 'lib/url_mount.rb', line 150

def name
  @name
end

Instance Method Details

#optional_variable_segmentsObject



152
# File 'lib/url_mount.rb', line 152

def optional_variable_segments; []; end

#required_variable_segmentsObject



153
# File 'lib/url_mount.rb', line 153

def required_variable_segments; []; end