Class: BitClust::Subcommands::ChmCommand::Sitemap

Inherits:
Object
  • Object
show all
Defined in:
lib/bitclust/subcommands/chm_command.rb

Defined Under Namespace

Classes: Content

Instance Method Summary collapse

Constructor Details

#initialize(name, local = nil) ⇒ Sitemap

Returns a new instance of Sitemap.


63
64
65
66
# File 'lib/bitclust/subcommands/chm_command.rb', line 63

def initialize(name, local = nil)
  @name = name
  @contents = Content.new(name, local)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args, &block) ⇒ Object


68
69
70
# File 'lib/bitclust/subcommands/chm_command.rb', line 68

def method_missing(name, *args, &block)
  @contents.send(name, *args, &block)
end