Sha256: 78649f8e4ffcc19be37ff026e4daf2d392389a03644a43d69831dadaab80c5c0

Contents?: true

Size: 421 Bytes

Versions: 2

Compression:

Stored size: 421 Bytes

Contents

# frozen_string_literal: true

require 'awesome_print'
require 'dldinternet/formatters/basic'

module DLDInternet
  module Formatters
    # Awesome formatter
    class Awesome < DLDInternet::Formatters::Basic
      attr_reader :format
      attr_reader :object
      attr_reader :title

      def initialize(obj, format, options)
        super
      end

      def format_it
        object.ai
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dldinternet-mixlib-thor-0.7.0 lib/dldinternet/formatters/awesome.rb
dldinternet-mixlib-thor-0.6.0 lib/dldinternet/formatters/awesome.rb