class ESRuby::Gem::Specification

Attributes

specifications[R]
appended_js_sources[R]
prepended_js_sources[R]

Public Class Methods

new(*arguments) click to toggle source
Calls superclass method
# File lib/esruby/gem/specification.rb, line 11
def self.new(*arguments)
  new_specification = super(*arguments)
  @specifications << new_specification
  new_specification
end
new(&block) click to toggle source
# File lib/esruby/gem/specification.rb, line 19
def initialize(&block)
  @prepended_js_sources = []
  @appended_js_sources = []
  instance_eval(&block)
end

Public Instance Methods

add_appended_js_source(path) click to toggle source
# File lib/esruby/gem/specification.rb, line 29
def add_appended_js_source(path)
  @appended_js_sources << path
end
add_prepended_js_source(path) click to toggle source
# File lib/esruby/gem/specification.rb, line 25
def add_prepended_js_source(path)
  @prepended_js_sources << path
end