Sha256: 22369571d915d51c03985590d6ea8c2d8247a3f20e4b6d2102b14a8e1e76bb80

Contents?: true

Size: 1.09 KB

Versions: 20

Compression:

Stored size: 1.09 KB

Contents

require 'xampl_generated_code/XamplAdHoc.rb'

Xampl.set_default_persister_kind(:tokyo_cabinet)

class Widget

  def Widget.indexed_attributes
    %w{ value gadget-value }
  end

  Xampl::TokyoCabinetPersister.add_lexical_indexs(Widget.indexed_attributes)

  def describe_yourself
    description = {
            'value' => self.value
    }

    secondary_descriptions = []

puts "#{ __method__} #{ __LINE__ }"
    self.gadget.each do | gadget |
puts "#{ __method__} #{ __LINE__ }"
      secondary_descriptions << {
              'gadget-value' => gadget.value
      }
puts "#{ __method__} #{ __LINE__ }"
      gadget.extra = 'fucking stupid change'
puts "#{ __method__} #{ __LINE__ }"
    end
puts "#{ __method__} #{ __LINE__ }"

    puts "\n\n\n\n#{ __FILE__ }:#{ __LINE__ } WIDGET(#{ self.pid })"
#    puts pp_xml
    puts "#{ __FILE__ }:#{ __LINE__ }     description: #{ description.inspect }"
    secondary_descriptions.each do | secondary |
      puts "#{ __FILE__ }:#{ __LINE__ }       secondary: #{ secondary.inspect }"
    end
    puts "\n\n\n"

    return description, secondary_descriptions
  end

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
xamplr-1.9.20 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.18 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.16 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.15 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.14 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.13 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.12 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.11 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.10 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.9 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.8 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.7 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.6 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.5 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.4 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.3 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.2 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.1 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.9.0 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb
xamplr-1.3.15 regression/tc-indexes-crossing-pid-boundaries/fucking-bad-idea.rb