Esempio n. 1
0
 public static Node /*!*/ ToYaml(RubyRegex /*!*/ self, [NotNull] RubyRepresenter /*!*/ rep)
 {
     return(rep.Scalar(
                rep.GetTagUri(self),
                self.Inspect().ToAsciiString(),
                ScalarQuotingStyle.None
                ));
 }
Esempio n. 2
0
 public static Node /*!*/ ToYaml(RubyRegex /*!*/ self, [NotNull] RubyRepresenter /*!*/ rep)
 {
     return(rep.Scalar(
                rep.GetTagUri(self),
                self.Inspect().ToAsciiString(rep.Context.RubyOptions.Compatibility < RubyCompatibility.Ruby19),
                ScalarQuotingStyle.None
                ));
 }
Esempio n. 3
0
 public static MutableString/*!*/ Inspect(RubyRegex/*!*/ self) {
     return self.Inspect();
 }
Esempio n. 4
0
 public static Node ToYaml(RubyRegex/*!*/ self, [NotNull]RubyRepresenter/*!*/ rep)
 {
     return rep.Scalar(
         rep.GetTagUri(self),
         self.Inspect().ToAsciiString(),
         ScalarQuotingStyle.None
     );
 }
Esempio n. 5
0
 public static Node/*!*/ ToYaml(RubyRegex/*!*/ self, [NotNull]RubyRepresenter/*!*/ rep) {
     return rep.Scalar(
         rep.GetTagUri(self), 
         self.Inspect().ToAsciiString(rep.Context.RubyOptions.Compatibility < RubyCompatibility.Ruby19),
         ScalarQuotingStyle.None
     );
 }