Class: Octopress::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/octopress/command.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.inherited(base) ⇒ Object



6
7
8
# File 'lib/octopress/command.rb', line 6

def self.inherited(base)
  subclasses << base
end

.subclassesObject



10
11
12
# File 'lib/octopress/command.rb', line 10

def self.subclasses
  @subclasses ||= []
end

Instance Method Details

#init_with_program(p) ⇒ Object

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/octopress/command.rb', line 14

def init_with_program(p)
  raise NotImplementedError.new("")
end