Search results for "dist:App-vaporcalc AVENJ"
App::vaporcalc - Calculate e-liquid recipes for DIY vaping
This is a set of simple utilities, roles, and objects for managing e-cig liquid recipes and calculating "ml" quantities based on a simple recipe format. From a shell, the vaporcalc(1) frontend starts with a base recipe outline and provides a command ...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::Flavor
An object representing a flavor extract for use in a App::vaporcalc::Recipe. ATTRIBUTES percentage The total target percentage of this flavor. tag The flavor's identifying tag. type The flavor base (VG/PG). CONSUMES App::vaporcalc::Role::Store...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::Types
A set of Type::Tiny types intended for internal use by App::vaporcalc. Numeric types Percentage An integer between 0 and 100. RoundedResult A number formatted to one decimal point ('%.1f'). Can be coerced from a "StrictNum". Object types AppException...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::Result - A calculated App::vaporcalc::Recipe result
A calculated result produced by App::vaporcalc::Recipe. All quantities are in "ml". ATTRIBUTES vg The required amount of VG filler. pg The required amount of PG filler. nic The required amount of nicotine base solution. flavors A typed List::Objects:...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::Recipe - An e-liquid recipe
An instance of this class represents an e-liquid recipe that can be calculated to produce per-ingredient "ml" quantities via App::vaporcalc::Role::Calc. See App::vaporcalc, especially "WARNING" in App::vaporcalc. ATTRIBUTES target_quantity The total ...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::Exception
App::vaporcalc exception objects. A subclass of Throwable::Error. Look there for details....
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::CmdEngine
A class containing a valid "subject_list" for use with vaporcalc(1) command handler roles; see "CONSUMES". ATTRIBUTES subject_list The list of valid vaporcalc(1) subjects (as an List::Objects::WithUtils::Array). Built by scanning classes in the "App:...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::Role::Calc - Calculate measurements for an e-liquid recipe
This role provides a "calc" method that produces an App::vaporcalc::Result object. See App::vaporcalc::Recipe, App::vaporcalc::RecipeResultSet. REQUIRES Consumers need to implement the following methods: # Method Returning target_quantity (ml) base_n...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::Cmd::Result
An object representing the result of an App::vaporcalc::Role::UI::Cmd consumer's execution. ATTRIBUTES action The action the controller should take; must be a "CommandAction" in App::vaporcalc::Types. prompt The prompt to display when "action" eq 'pr...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::Role::Store
This role provides "save" and "load" methods that attempt to serialize or retrieve objects via JSON::MaybeXS; this is used by App::vaporcalc::Recipe & App::vaporcalc::RecipeResultSet to preserve e-liquid recipes. REQUIRES TO_JSON Consumers are expect...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::FormatString - Templated string formatter
A tiny string formatter. Exports a single function: "format_str" format_str Takes a string and a hash (or hash reference) mapping template variables to replacement strings. The replacement variables can be coderefs returning a string: format_str( "My...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
vaporcalc - Terminal-based e-liquid recipe calculator
A terminal-based calculator for manging DIY e-liquid recipes. See App::vaporcalc, and especially "WARNING" in App::vaporcalc....
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::Role::UI::Cmd - Helper for vaporcalc command objects
A Moo::Role providing attributes & behavior common to App::vaporcalc command objects. Command objects define a "subject" that provides "verbs" -- methods prefixed with "_action_" that have access to the current "recipe" object and command "params". E...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::RecipeResultSet - An e-liquid recipe and result pair
An instance of this class couples an App::vaporcalc::Recipe with its calculated App::vaporcalc::Result. ATTRIBUTES recipe The App::vaporcalc::Recipe we are calculating. Can be coerced from a "HASH" of App::vaporcalc::Recipe constructor options. resul...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::Role::UI::ParseCmd
A Moo::Role for parsing command strings based on a list of valid subjects (command targets). REQUIRES subject_list The "subject_list" method is expected to return an ARRAY or ARRAY-type object containing a list of valid subjects. METHODS parse_cmd Gi...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC
App::vaporcalc::Role::UI::PrepareCmd
A Moo::Role for producing vaporcalc command objects. ATTRIBUTES cmd_class_prefix The prefix to use when constructing command object class names from a given subject. Defaults to "App::vaporcalc::Cmd::Subject::" METHODS prepare_cmd Takes a App::vaporc...
AVENJ/App-vaporcalc-0.005004 - 05 Jul 2016 14:55:32 UTC