Sha256: 08ea328cc535d39c9eb48c16c10bd9e03d558336052b240036b929929df77986

Contents?: true

Size: 212 Bytes

Versions: 14

Compression:

Stored size: 212 Bytes

Contents

require 'ronin/script'

class ScriptClass

  include Ronin::Script

  property :id, Serial

  parameter :x, :default => 1

  attr_reader :y

  def initialize(options={})
    super(options)

    @y = 2
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ronin-1.5.1 spec/script/classes/script_class.rb
ronin-1.5.0 spec/script/classes/script_class.rb
ronin-1.5.0.rc2 spec/script/classes/script_class.rb
ronin-1.5.0.rc1 spec/script/classes/script_class.rb
ronin-1.4.1 spec/script/classes/script_class.rb
ronin-1.4.0 spec/script/classes/script_class.rb
ronin-1.4.0.rc2 spec/script/classes/script_class.rb
ronin-1.4.0.rc1 spec/script/classes/script_class.rb
ronin-1.3.0 spec/script/classes/script_class.rb
ronin-1.2.0 spec/script/classes/script_class.rb
ronin-1.1.0 spec/script/classes/script_class.rb
ronin-1.1.0.rc3 spec/script/classes/script_class.rb
ronin-1.1.0.rc2 spec/script/classes/script_class.rb
ronin-1.1.0.rc1 spec/script/classes/script_class.rb