Exception: Falsework::MouldError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/falsework/mould.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ MouldError

Returns a new instance of MouldError.



11
12
13
# File 'lib/falsework/mould.rb', line 11

def initialize msg
  super msg
end

Instance Method Details

#orig_to_sObject



15
# File 'lib/falsework/mould.rb', line 15

alias :orig_to_s :to_s

#to_sObject



16
17
18
# File 'lib/falsework/mould.rb', line 16

def to_s
  "generator: #{orig_to_s}"
end