class Parcels::FortitudeInlineParcel

Attributes

full_path[R]
widget_tree[R]

Public Class Methods

logical_path_prefix() click to toggle source
# File lib/parcels/fortitude_inline_parcel.rb, line 5
def self.logical_path_prefix
  "#{logical_path_prefix_base}inline"
end

Public Instance Methods

tag_type() click to toggle source
# File lib/parcels/fortitude_inline_parcel.rb, line 16
def tag_type
  :inline
end
tag_types_that_must_come_before() click to toggle source
# File lib/parcels/fortitude_inline_parcel.rb, line 20
def tag_types_that_must_come_before
  [ :alongside ]
end
to_css(sprockets_context) click to toggle source
# File lib/parcels/fortitude_inline_parcel.rb, line 9
def to_css(sprockets_context)
  if widget_class.respond_to?(:_parcels_widget_class_inline_css) &&
    (!(css = widget_class._parcels_widget_class_inline_css(widget_tree.parcels_environment, sprockets_context)).blank?)
    css
  end
end

Private Instance Methods

widget_class_full_path() click to toggle source
# File lib/parcels/fortitude_inline_parcel.rb, line 27
def widget_class_full_path
  full_path
end