Module: DRG::FileContext::NullDefinition

Included in:
Definition, NullLine
Defined in:
lib/drg/file_context.rb

Instance Method Summary collapse

Instance Method Details

#block?Boolean

Returns:

  • (Boolean)


120
121
122
# File 'lib/drg/file_context.rb', line 120

def block?
  false
end

#class?Boolean

Returns:

  • (Boolean)


108
109
110
# File 'lib/drg/file_context.rb', line 108

def class?
  false
end

#method?Boolean

Returns:

  • (Boolean)


116
117
118
# File 'lib/drg/file_context.rb', line 116

def method?
  false
end

#mod?Boolean

Returns:

  • (Boolean)


112
113
114
# File 'lib/drg/file_context.rb', line 112

def mod?
  false
end