class Confinement::Layout
Public Class Methods
new(input_path:, renderers: :guess)
click to toggle source
# File lib/confinement.rb, line 478 def initialize(input_path:, renderers: :guess) self.input_path = input_path self.renderers = renderers end
Public Instance Methods
body()
click to toggle source
# File lib/confinement.rb, line 483 def body @body ||= input_path.read end