Giter VIP home page Giter VIP logo

grok's Introduction

NAME
    App::Grok - Does most of grok's heavy lifting

DESCRIPTION
    This class provides the main functionality needed by grok. It has some
    methods you can use if you need to hook into grok.

METHODS
  "new"
    This is the constructor. It takes no arguments.

  "run"
    If you call this method, it will look at the command line arguments in
    @ARGV and act accordingly. This is basically what the "grok" program
    does. Takes no arguments.

  "target_index"
    Takes no arguments. Returns a list of all the targets known to "grok".

  "detect_source"
    Takes a filename as an argument. Returns the name of the appropriate
    "App::Grok::*" class to parse it. Returns nothing if the file doesn't
    contain any Pod.

  "locate_target"
    Takes a target name as an argument. Returns the path to the target, or
    nothing if the target is not recognized.

  "render_target"
    Takes two arguments, a target and the name of an output format. Returns
    a string containing the rendered documentation, or nothing if the target
    is unrecognized.

  "render_file"
    Takes two arguments, a filename and the name of an output format.
    Returns a string containing the rendered document. Note: this method is
    called by "render_target".

AUTHOR
    Hinrik Örn Sigurðsson, [email protected]

LICENSE AND COPYRIGHT
    Copyright 2009 Hinrik Örn Sigurðsson

    "grok" is distributed under the terms of the Artistic License 2.0. For
    more details, see the full text of the license in the file LICENSE that
    came with this distribution.

grok's People

Contributors

hinrik avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.