Class: BinData::DSLMixin::DSLParser

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

Instance Method Summary collapse

Instance Method Details

#name_is_reserved_in_1_8?(name) ⇒ Boolean Also known as: name_is_reserved?

Returns:

  • (Boolean)


3
4
5
6
# File 'lib/spdy/compat.rb', line 3

def name_is_reserved_in_1_8?(name)
  return false if name == "type"
  name_is_reserved_in_1_9?(name)
end

#name_shadows_method_in_1_8?(name) ⇒ Boolean Also known as: name_shadows_method?

Returns:

  • (Boolean)


10
11
12
13
# File 'lib/spdy/compat.rb', line 10

def name_shadows_method_in_1_8?(name)
  return false if name == "type"
  name_shadows_method_in_1_9?(name)
end