Class: Black::Preview::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/black/preview.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



46
47
48
# File 'lib/black/preview.rb', line 46

def content
  @content
end

#cssObject

Returns the value of attribute css

Returns:

  • (Object)

    the current value of css



46
47
48
# File 'lib/black/preview.rb', line 46

def css
  @css
end

Instance Method Details

#get_bindingObject



47
48
49
# File 'lib/black/preview.rb', line 47

def get_binding
  binding
end