class Flumtter::Window::UserBase

Public Instance Methods

element() click to toggle source
# File lib/flumtter/app/core/windows/userbase.rb, line 8
      def element
        @text ||= <<~EOF
          #{header}
          #{
            {
              "#{@object.name} (@#{@object.screen_name})": {
                description: @object.description.split_num(Terminal.x - 20),
                location: @object.location,
                url: @object.website.to_s
              }
            }.indent
          }
        EOF
      end
id() click to toggle source
# File lib/flumtter/app/core/windows/userbase.rb, line 4
def id
  @object.id
end