| Class | Pry::CodeFile |
| In: |
lib/pry/code/code_file.rb
|
| Parent: | Object |
| DEFAULT_EXT | = | '.rb' | ||
| EXTENSIONS | = | { %w(.py) => :python, %w(.js) => :javascript, %w(.css) => :css, %w(.xml) => :xml, %w(.php) => :php, %w(.html) => :html, %w(.diff) => :diff, %w(.java) => :java, %w(.json) => :json, %w(.c .h) => :c, %w(.rhtml) => :rhtml, %w(.yaml .yml) => :yaml, %w(.cpp .hpp .cc .h cxx) => :cpp, %w(.rb .ru .irbrc .gemspec .pryrc) => :ruby, } | List of all supported languages. @return [Hash] |
| code_type | [R] | @return [Symbol] The type of code stored in this wrapper. |