Class: IndexPage

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, url) ⇒ IndexPage

Returns a new instance of IndexPage.



302
303
304
305
# File 'lib/zarchitect/index.rb', line 302

def initialize(path, url)
  @url = url
  @path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



300
301
302
# File 'lib/zarchitect/index.rb', line 300

def path
  @path
end

#urlObject (readonly)

Returns the value of attribute url.



300
301
302
# File 'lib/zarchitect/index.rb', line 300

def url
  @url
end