Sha256: d80a26e484f7a891d0d5f15f9abe08109120ae498df7d68d66a46f801a9b9601

Contents?: true

Size: 286 Bytes

Versions: 14

Compression:

Stored size: 286 Bytes

Contents

require 'ronin/script'
require 'ronin/script/testable'

class TestableClass

  include Ronin::Script
  include Ronin::Script::Testable

  property :id, Serial

  parameter :var

  def initialize(attributes={},&block)
    super(attributes)

    instance_eval(&block) if block
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

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