Class: Pronto::Formatter::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/pronto/formatter/base.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.nameObject

Raises:

  • (NoMethodError)


4
5
6
# File 'lib/pronto/formatter/base.rb', line 4

def self.name
  raise NoMethodError, 'Must be implemented in subclasses.'
end

Instance Method Details

#configObject



8
9
10
# File 'lib/pronto/formatter/base.rb', line 8

def config
  @config ||= Config.new
end