lib/raven/interfaces.rb in sentry-raven-0.7.1 vs lib/raven/interfaces.rb in sentry-raven-0.8.0

- old
+ new

@@ -3,11 +3,11 @@ module Raven INTERFACES = {} class Interface < Hashie::Dash - def initialize(attributes={}, &block) + def initialize(attributes = {}, &block) @check_required = false super(attributes) block.call(self) if block @check_required = true assert_required_properties_set! @@ -15,11 +15,11 @@ def assert_required_properties_set! super if @check_required end - def self.name(value=nil) + def self.name(value = nil) @interface_name = value if value @interface_name end end @@ -31,7 +31,6 @@ end def self.find_interface(name) INTERFACES[name.to_s] end - end