Class: AdLint::Content

Inherits:
Object
  • Object
show all
Defined in:
lib/adlint/lexer.rb

Overview

DESCRIPTION

Object represents the whole content of something.

Direct Known Subclasses

StringContent, TokensContent

Instance Method Summary collapse

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


69
70
71
# File 'lib/adlint/lexer.rb', line 69

def empty?
  subclass_responsibility
end

#locationObject



65
66
67
# File 'lib/adlint/lexer.rb', line 65

def location
  subclass_responsibility
end