Exception: Baha::PreBuild::ModuleNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/baha/pre_build.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(task) ⇒ ModuleNotFoundError

Returns a new instance of ModuleNotFoundError.



5
6
7
8
# File 'lib/baha/pre_build.rb', line 5

def initialize(task)
  super("Could not find a module that could parse #{task.inspect}")
  @task = task
end

Instance Attribute Details

#taskObject (readonly)

Returns the value of attribute task.



4
5
6
# File 'lib/baha/pre_build.rb', line 4

def task
  @task
end