Class: RedShift::Component::FunctionWrapper

Inherits:
Object
  • Object
show all
Includes:
CShadow
Defined in:
lib/redshift/target/c/component-gen.rb

Overview

FunctionWrappers wrap function pointers for access from ruby.

Direct Known Subclasses

ExprWrapper, FlowWrapper, GuardWrapper

Instance Method Summary collapse

Constructor Details

#initialize(inspect_str) ⇒ FunctionWrapper

Returns a new instance of FunctionWrapper.



151
152
153
# File 'lib/redshift/target/c/component-gen.rb', line 151

def initialize inspect_str
  @inspect_str = inspect_str
end

Instance Method Details

#inspectObject



149
# File 'lib/redshift/target/c/component-gen.rb', line 149

def inspect; @inspect_str; end