class Helium::Package
Attributes
name[R]
Public Class Methods
new(opts = {})
click to toggle source
Calls superclass method
# File lib/helium/helium_script.rb, line 36 def initialize(opts = {}) super(opts) @name = @params.dig('attributes', 'name') end
Public Instance Methods
libraries()
click to toggle source
Libraries are immutable and can be cached
# File lib/helium/helium_script.rb, line 48 def libraries @libs ||= Collection.new(klass: Library, client: @client, belongs_to: self) end
script()
click to toggle source
Script
is immutable and can be cached
# File lib/helium/helium_script.rb, line 42 def script @script ||= Script.initialize_from_path(path: "#{resource_path}/script", client: @client) end