Sha256: dac74dce14cf3f4fe0cf81589ddbcf1c5f29b2ff1a763e860a8414dfd6890d56

Contents?: true

Size: 405 Bytes

Versions: 3

Compression:

Stored size: 405 Bytes

Contents

module Micronaut

  class Example
  
    attr_reader :behaviour, :description, :options, :example_block
  
    def initialize(behaviour, desc, options, example_block=nil)
      @behaviour, @description, @options, @example_block = behaviour, desc, options, example_block
    end
    
    def inspect
      "#{behaviour.name} - #{description}"
    end
    
    def to_s
      inspect
    end
  
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spicycode-micronaut-0.0.9 lib/micronaut/example.rb
spicycode-micronaut-0.1.0 lib/micronaut/example.rb
spicycode-micronaut-0.1.1 lib/micronaut/example.rb