Method: ESRuby::Gem::Specification#initialize
- Defined in:
- lib/esruby/gem/specification.rb
#initialize(&block) ⇒ Specification
Returns a new instance of Specification.
19 20 21 22 23 |
# File 'lib/esruby/gem/specification.rb', line 19 def initialize(&block) @prepended_js_sources = [] @appended_js_sources = [] instance_eval(&block) end |