Class: Variables::InstanceVariable

Inherits:
Variable
  • Object
show all
Defined in:
lib/variables/instance_variable.rb

Instance Attribute Summary

Attributes inherited from Variable

#name, #owner

Instance Method Summary collapse

Methods inherited from Variable

#defined?, #fetch, #get, #initialize, #replace, #set

Constructor Details

This class inherits a constructor from Variables::Variable

Instance Method Details

#method_prefixObject



5
6
7
# File 'lib/variables/instance_variable.rb', line 5

def method_prefix
  'instance'
end

#variable_prefixObject



9
10
11
# File 'lib/variables/instance_variable.rb', line 9

def variable_prefix
  '@'
end