Class: LSH::Web
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- LSH::Web
- Defined in:
- lib/lsh/web.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
Instance Method Summary collapse
-
#initialize(index) ⇒ Web
constructor
A new instance of Web.
Constructor Details
#initialize(index) ⇒ Web
Returns a new instance of Web.
11 12 13 14 |
# File 'lib/lsh/web.rb', line 11 def initialize(index) super @index = index end |
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index.
9 10 11 |
# File 'lib/lsh/web.rb', line 9 def index @index end |