Sha256: 348f94d9fa9ed798e37bc04394d3e465acef3664152f8f8c87feb386dd4667c0
Contents?: true
Size: 520 Bytes
Versions: 5
Compression:
Stored size: 520 Bytes
Contents
module Micronaut class Example attr_reader :behaviour, :description, :metadata, :example_block def initialize(behaviour, desc, options, example_block=nil) @behaviour, @description, @options, @example_block = behaviour, desc, options, example_block @metadata = @behaviour.metadata.dup @metadata[:description] = description @metadata.update(options) end def inspect "#{behaviour.name} - #{description}" end def to_s inspect end end end
Version data entries
5 entries across 5 versions & 1 rubygems