Sha256: 893d1dfb972ed63d3ab88e1c83a6d86f78016e3589684cd388748fc4ffa15b82

Contents?: true

Size: 164 Bytes

Versions: 10

Compression:

Stored size: 164 Bytes

Contents

module DissociatedIntrospection
  Block = Struct.new(:ast, :type)

  def Block.source
    :source
  end

  def Block.to_h
    super.merge(source: source)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dissociated_introspection-0.13.0 lib/dissociated_introspection/block.rb
dissociated_introspection-0.12.0 lib/dissociated_introspection/block.rb
dissociated_introspection-0.11.0 lib/dissociated_introspection/block.rb
dissociated_introspection-0.9.1 lib/dissociated_introspection/block.rb
dissociated_introspection-0.9.0 lib/dissociated_introspection/block.rb
dissociated_introspection-0.8.4 lib/dissociated_introspection/block.rb
dissociated_introspection-0.8.3 lib/dissociated_introspection/block.rb
dissociated_introspection-0.8.2 lib/dissociated_introspection/block.rb
dissociated_introspection-0.8.1 lib/dissociated_introspection/block.rb
dissociated_introspection-0.8.0 lib/dissociated_introspection/block.rb