Class: Cucumber::HTMLFormatter::AssetsLoader

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-html-formatter-19.2.0/lib/cucumber/html_formatter/assets_loader.rb

Instance Method Summary collapse

Instance Method Details

#cssObject



8
9
10
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-html-formatter-19.2.0/lib/cucumber/html_formatter/assets_loader.rb', line 8

def css
  read_asset('cucumber-html.css')
end

#scriptObject



12
13
14
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-html-formatter-19.2.0/lib/cucumber/html_formatter/assets_loader.rb', line 12

def script
  read_asset('cucumber-html.js')
end

#templateObject



4
5
6
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-html-formatter-19.2.0/lib/cucumber/html_formatter/assets_loader.rb', line 4

def template
  read_asset('index.mustache.html')
end