assets/src/ruboto/activity.rb in ruboto-0.10.0 vs assets/src/ruboto/activity.rb in ruboto-0.10.1
- old
+ new
@@ -38,12 +38,13 @@
Object.const_get(class_name).class_eval(&block) if block_given?
end
b = Java::android.os.Bundle.new
b.putInt("Theme", theme) if theme
b.putString("ClassName", class_name)
+ b.putString("Script", options[:script]) if options[:script]
i = android.content.Intent.new
i.setClass self, klass.java_class
- i.putExtra("RubotoActivity Config", b)
+ i.putExtra("Ruboto Config", b)
startActivity i
self
end
private