lib/bindata/primitive.rb in bindata-2.4.15 vs lib/bindata/primitive.rb in bindata-2.5.0
- old
+ new
@@ -71,15 +71,15 @@
def initialize_instance
super
@struct = BinData::Struct.new(get_parameter(:struct_params), self)
end
- def respond_to?(symbol, include_private = false) #:nodoc:
+ def respond_to?(symbol, include_private = false) # :nodoc:
@struct.respond_to?(symbol, include_private) || super
end
- def method_missing(symbol, *args, &block) #:nodoc:
+ def method_missing(symbol, *args, &block) # :nodoc:
if @struct.respond_to?(symbol)
@struct.__send__(symbol, *args, &block)
else
super
end
@@ -89,10 +89,10 @@
super(val)
set(_value)
@value = get
end
- def debug_name_of(child) #:nodoc:
+ def debug_name_of(child) # :nodoc:
debug_name + "-internal-"
end
def do_write(io)
set(_value)