Method: IB::Generator#initialize

Defined in:
lib/ib/generator.rb

#initialize(motion_template_type) ⇒ Generator

Returns a new instance of Generator.



7
8
9
10
11
# File 'lib/ib/generator.rb', line 7

def initialize motion_template_type
  # NOTE: motion_template_type equal to Motion::Project::App.template
  #       but, this class use its value for judging build platform.
  @build_platform = motion_template_type
end