lib/rake/baseextensiontask.rb in rake-compiler-1.0.3 vs lib/rake/baseextensiontask.rb in rake-compiler-1.0.4
- old
+ new
@@ -17,13 +17,13 @@
attr_accessor :name
attr_accessor :gem_spec
attr_accessor :tmp_dir
attr_accessor :ext_dir
attr_accessor :lib_dir
- attr_accessor :platform
attr_accessor :config_options
attr_accessor :source_pattern
attr_accessor :extra_options
+ attr_writer :platform
def platform
@platform ||= RUBY_PLATFORM
end