Class: Pupu::Page

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePage

Returns a new instance of Page.



9
10
11
# File 'lib/pupu/parser.rb', line 9

def initialize
  @files = Array.new
end

Instance Attribute Details

#filesObject (readonly)

Returns the value of attribute files.



8
9
10
# File 'lib/pupu/parser.rb', line 8

def files
  @files
end

Instance Method Details

#parse(name, options) ⇒ Object



13
14
15
# File 'lib/pupu/parser.rb', line 13

def parse(name, options)
  Parser.new(name, options, self)
end