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.



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

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



71
72
73
# File 'lib/bitclust/subcommands/chm_command.rb', line 71

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