class Shaf::Yard::ProfileObject

Attributes

profile[RW]

Public Instance Methods

description() click to toggle source
# File lib/shaf/yard/profile_object.rb, line 12
def description
  profile&.doc || ""
end
path() click to toggle source
# File lib/shaf/yard/profile_object.rb, line 8
def path
  "Profiles::#{name}"
end
profile_name() click to toggle source
# File lib/shaf/yard/profile_object.rb, line 16
def profile_name
  name.to_s.sub(/Profile\z/, '')
end