File tree Expand file tree Collapse file tree 4 files changed +6
-11
lines changed
Expand file tree Collapse file tree 4 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 1- 972.0
1+ 972.1
Original file line number Diff line number Diff line change @@ -32,14 +32,6 @@ def logger #nodoc#
3232 Connection . logger
3333 end
3434
35- # Setze Account connect/disconnect und undate!
36- def connect!
37- update_attribute :connected , true
38- end
39- def disconnect!
40- update_attribute :connected , false
41- end
42-
4335 def print_type #nodoc#
4436 ( test_environment? ? "demo_" : "" ) + ( user? ? "user" : "advisor" )
4537 end
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ module IB
77
88 if defined? ( Contract )
99 puts "Contract already a #{ defined? ( Contract ) } "
10- puts Contract . ancestors
10+ # puts Contract.ancestors
1111# IB.send(:remove_const, 'Contract')
1212 end
1313 class Contract < IB ::Model
Original file line number Diff line number Diff line change 11module IB
2+ if defined? ( Underlying )
3+ puts "Underlying already a #{ defined? ( Underlying ) } "
4+ else
25
36 # Calculated characteristics of underlying Contract (volatile)
47 class Underlying < IB ::Model
@@ -30,5 +33,5 @@ def == other
3033
3134 end # class Underlying
3235 UnderComp = Underlying
33-
36+ end
3437end # module IB
You can’t perform that action at this time.
0 commit comments