Class: RubyBindgen::Generators::Rice::IteratorCollector::Inference

Inherits:
Data
  • Object
show all
Defined in:
lib/ruby-bindgen/generators/rice/iterator_collector.rb

Overview

Inferred traits for one custom iterator. The hash key under which this is stored is the iterator’s qualified name; we don’t repeat it here. Consumed directly by the ERB template.

Instance Attribute Summary collapse

Instance Attribute Details

#is_constObject (readonly)

Returns the value of attribute is_const

Returns:

  • (Object)

    the current value of is_const



23
24
25
# File 'lib/ruby-bindgen/generators/rice/iterator_collector.rb', line 23

def is_const
  @is_const
end

#value_typeObject (readonly)

Returns the value of attribute value_type

Returns:

  • (Object)

    the current value of value_type



23
24
25
# File 'lib/ruby-bindgen/generators/rice/iterator_collector.rb', line 23

def value_type
  @value_type
end