Class: ScryExampleClass

Inherits:
Object
  • Object
show all
Defined in:
lib/example_material.rb

Overview

Purely for use by Scryglass.demo_hash

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeScryExampleClass

Returns a new instance of ScryExampleClass.



7
8
9
10
11
12
# File 'lib/example_material.rb', line 7

def initialize
  self.instance_variable_1 = nil
  self.instance_variable_2 = true
  self.instance_variable_3 = {:test => true, :not_test => false}
  self.instance_variable_4 = 'Scrying is fun!'
end

Instance Attribute Details

#instance_variable_1Object

Returns the value of attribute instance_variable_1.



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

def instance_variable_1
  @instance_variable_1
end

#instance_variable_2Object

Returns the value of attribute instance_variable_2.



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

def instance_variable_2
  @instance_variable_2
end

#instance_variable_3Object

Returns the value of attribute instance_variable_3.



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

def instance_variable_3
  @instance_variable_3
end

#instance_variable_4Object

Returns the value of attribute instance_variable_4.



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

def instance_variable_4
  @instance_variable_4
end