Class: LSH::Web

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/lsh/web.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#indexObject (readonly)

Returns the value of attribute index.



9
10
11
# File 'lib/lsh/web.rb', line 9

def index
  @index
end