lib/calabash/ios/device/runtime_attributes.rb in calabash-1.9.9.pre3 vs lib/calabash/ios/device/runtime_attributes.rb in calabash-2.0.0.pre1

- old
+ new

@@ -7,10 +7,14 @@ class RuntimeAttributes require 'run_loop' # @!visibility private + # The hash passed to initialize. + attr_reader :runtime_info + + # @!visibility private # Creates a new instance of DeviceRuntimeInfo. # @param [Hash] runtime_info The result of calling the version route on # on the server # @return [Calabash::IOS::RuntimeAttributes] A new info object. def initialize(runtime_info) @@ -171,14 +175,9 @@ return nil if runtime_info.nil? runtime_info['system'] end.call end - - # @!visibility private - # The hash passed to initialize. - attr_reader :runtime_info - end end end