Method: AsProject::HAMTASC#initialize
- Defined in:
- lib/tasks/hamtasc.rb
#initialize(name = :compile, do_not_define = false) {|_self| ... } ⇒ HAMTASC
Returns a new instance of HAMTASC.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/tasks/hamtasc.rb', line 12 def initialize(name=:compile, do_not_define=false) @pack_path = [] @exclude_packages = [] @rb_exclude_swf = [] @rb_exclude_path = [] super(name, true) do |s| s.compiler_version = '1.12.rb.20' s.win_url = "http://asproject.googlecode.com/files/hamtasc-#{compiler_version}.zip" s.win_extracted_file = "/hamtasc-#{compiler_version}/hamtasc.exe" s.osx_url = nil s.osx_extracted_file = nil s.unix_url = nil s.unix_extracted_file = nil end yield self if block_given? define unless do_not_define end |