Class: EverExp::WithoutFiles

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/ever_exp/without_files.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.instanceObject



9
10
11
# File 'lib/ever_exp/without_files.rb', line 9

def instance
  @single ||= new
end

Instance Method Details

#each(&block) ⇒ Object



18
19
20
# File 'lib/ever_exp/without_files.rb', line 18

def each &block
  [].each &block
end

#isHtml?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/ever_exp/without_files.rb', line 22

def isHtml?
  false
end

#nameObject



14
15
16
# File 'lib/ever_exp/without_files.rb', line 14

def name
  'without_files'
end