Skip to content

Instantly share code, notes, and snippets.

Avatar

Dominic Muller domgetter

  • Bakersfield, CA
View GitHub Profile
View gist:5742754
% tree
.
├── Rakefile
├── bin
│ └── gem_name
├── gem_name.gemspec
├── lib
│ ├── gem_name
│ │ └── other_file.rb
│ └── gem_name.rb
View gist:5742890
#in child_class_test.rb
word = Word.new
#EOF child_class_test.rb
# in lib/word.rb
require_relative 'noun'
View gist:5779163
Each line is a class. An indented class is a child class (e.g. PluralNoun < Noun)
Sentence
Syntax
IndependentClause
DependentClause
NounPhrase
VerbPhrase
Word
Noun
View gist:5779166
Each line is a class. An indented class is a child class (e.g. PluralNoun < Noun)
Sentence
Syntax
IndependentClause
DependentClause
NounPhrase
VerbPhrase
Word
Noun
View gist:5779180
Sentence
Syntax
IndependentClause
DependentClause
NounPhrase
VerbPhrase
Word
Noun
SingularNoun
PluralNoun
View gist:5779181
Each line is a class. An indented class is a child class (e.g. PluralNoun < Noun)
Sentence
Syntax
IndependentClause
DependentClause
NounPhrase
VerbPhrase
Word
Noun
View gist:5779186
Each line is a class. An indented class is a child class (e.g. PluralNoun < Noun)
Sentence
Syntax
IndependentClause
DependentClause
NounPhrase
VerbPhrase
Word
Noun
View gist:5784449
irb(main):003:0> ::Bundler::VERSION
=> "1.3.5"
View gist:6017895
RubyGems Environment:
- RUBYGEMS VERSION: 1.7.2
- RUBY VERSION: 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux]
- INSTALLATION DIRECTORY: /home3/my_username/ruby/gems
- RUBY EXECUTABLE: /usr/bin/ruby
- EXECUTABLE DIRECTORY: /home3/my_username/ruby/gems/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
View gist:6017967
> ruby -v
ruby 1.8.7 (2012-02-08 MBARI 8/0x6770 on patchlevel 358) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2012.02