Sha256: d2a5bcef8777b1d2cee6e18445a075431739ff503b661aa37a52b498a895036a

Contents?: true

Size: 292 Bytes

Versions: 8

Compression:

Stored size: 292 Bytes

Contents

require 'ronin/engine'
require 'ronin/engine/verifiable'

class VerifiableClass

  include Ronin::Engine
  include Ronin::Engine::Verifiable

  property :id, Serial

  parameter :var

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

    instance_eval(&block) if block
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ronin-1.0.0 spec/engine/classes/verifiable_class.rb
ronin-1.0.0.rc3 spec/engine/classes/verifiable_class.rb
ronin-1.0.0.rc2 spec/engine/classes/verifiable_class.rb
ronin-1.0.0.rc1 spec/engine/classes/verifiable_class.rb
ronin-1.0.0.pre4 spec/engine/classes/verifiable_class.rb
ronin-1.0.0.pre3 spec/engine/classes/verifiable_class.rb
ronin-1.0.0.pre2 spec/engine/classes/verifiable_class.rb
ronin-1.0.0.pre1 spec/engine/classes/verifiable_class.rb