Class: Array
- Inherits:
-
Object
- Object
- Array
- Includes:
- Diffable
- Defined in:
- lib/diff.rb,
lib/faster_csv.rb,
vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb
Direct Known Subclasses
CodeRay::Tokens, Engines::Plugin::List, Redmine::Scm::Adapters::Entries, Redmine::Scm::Adapters::Revisions, Redmine::UnifiedDiff
Instance Method Summary
-
- (Object) to_ber(id = 0)
to_ber_appsequence An application-specific sequence usually gets assigned a tag that is meaningful to the particular protocol being used.
- - (Object) to_ber_appsequence(id = 0)
- - (Object) to_ber_contextspecific(id = 0)
- - (Object) to_ber_sequence(id = 0)
- - (Object) to_ber_set(id = 0)
-
- (Object) to_csv(options = Hash.new)
Equivalent to FasterCSV::generate_line(self, options).
Methods included from Diffable
#diff, #patch, #replacenextlarger, #reverse_hash
Instance Method Details
- (Object) to_ber(id = 0)
to_ber_appsequence An application-specific sequence usually gets assigned a tag that is meaningful to the particular protocol being used. This is different from the universal sequence, which usually gets a tag value of 16. Now here’s an interesting thing: We’re adding the X.690 "application constructed" code at the top of the tag byte (0x60), but some clients, notably ldapsearch, send "context-specific constructed" (0xA0). The latter would appear to violate RFC-1777, but what do I know? We may need to change this.
280 |
# File 'vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb', line 280 def to_ber id = 0; to_ber_seq_internal( 0x30 + id ) end |
- (Object) to_ber_appsequence(id = 0)
283 |
# File 'vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb', line 283 def to_ber_appsequence id = 0; to_ber_seq_internal( 0x60 + id ) end |
- (Object) to_ber_contextspecific(id = 0)
284 |
# File 'vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb', line 284 def to_ber_contextspecific id = 0; to_ber_seq_internal( 0xA0 + id ) end |
- (Object) to_ber_sequence(id = 0)
282 |
# File 'vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb', line 282 def to_ber_sequence id = 0; to_ber_seq_internal( 0x30 + id ) end |
- (Object) to_ber_set(id = 0)
281 |
# File 'vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ber.rb', line 281 def to_ber_set id = 0; to_ber_seq_internal( 0x31 + id ) end |
- (Object) to_csv(options = Hash.new)
Equivalent to FasterCSV::generate_line(self, options).
1975 1976 1977 |
# File 'lib/faster_csv.rb', line 1975 def to_csv( = Hash.new) FasterCSV.generate_line(self, ) end |